package com.house365.core.sop;

public class Constants {

	// APP_ID 微信
	public static String WEIXIN_APP_ID = "wx183cfb1c332be53d";

	/** 当前 DEMO 应用的 APP_KEY，第三方应用应该使用自己的 APP_KEY 替换该 APP_KEY */
	public static final String SINA_WEIBO_APP_KEY = "1199052435";

	public static final String SINA_WEIBO_REDIRECT_URL = "https://api.weibo.com/oauth2/default.html";

	public static final String SINA_WEIBO_SCOPE = "email,direct_messages_read,direct_messages_write,"
			+ "friendships_groups_read,friendships_groups_write,statuses_to_me_read,"
			+ "follow_app_official_microblog," + "invitation_write";
	
	public static void setWEIXIN_APP_ID(String app){
		if("taofang".equals(app)) {
			WEIXIN_APP_ID = "wx183cfb1c332be53d";
		}else if("njbbs".equals(app)) {
			WEIXIN_APP_ID = "wx0b746b1c1b4af8dd";
		}else if("whbbs".equals(app)) {
			WEIXIN_APP_ID = "wxc115310e0456f13a";
//			WEIXIN_APP_ID = "wx61ed1ecf4a2e061b";
		}else if ("fgj".equals(app)) {
			WEIXIN_APP_ID = "wx8ec97193719ae883";
		}else if ("zsb".equals(app)) {
			WEIXIN_APP_ID = "wx6391daa0c6e43768";
		}else if("xqb".equals(app)){
		  WEIXIN_APP_ID = "wxe9d34dc8ede0a905";
		}else {
			WEIXIN_APP_ID = "wx183cfb1c332be53d";
		}
	}
	public static void setWEIXIN_APP_ID_Direct(String appId){
		WEIXIN_APP_ID = appId;;
	}

}
